function mouseOver(obj, index) {
    obj.setAttribute('src', '/images/' + index + '-hover.png');
}

function mouseOut(obj, index) {
    obj.setAttribute('src', '/images/' + index + '.png');
}

$(function () {
    $(window).scroll(function () {
        $(window).scrollTop() > 100 ? $(".d-scroll-top-box").show() : $(".d-scroll-top-box").hide()
    }), $(".d-scroll-top-button").click(function () {
        $("body,html").animate({
            scrollTop: 0
        }, 600)
    }), $(".d-scroll-top-box").click(function () {
        $("body,html").animate({
            scrollTop: 0
        }, 600)
    }), $(".d-popover-text").popover({
        trigger: "hover",
        html: !1
    }), $(".d-popover-html").popover({
        trigger: "hover",
        html: !0
    })
});